﻿<Window x:Class="DemoWpfApplication.CacheTestWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Test Cache" Height="514" Width="453">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height=".8*" />
            <RowDefinition Height="4*" />
        </Grid.RowDefinitions>
        <Label x:Name="Label1" Margin="134,13,88,15">Status:</Label>
        <Button x:Name="ButtonGetProductDetails" Margin="12,5,0,43" HorizontalAlignment="Left" Width="100" Click="ButtonGetProductDetails_Click">Get Product Details</Button>

        <StackPanel Grid.Row="1" Margin="12.5,40.4,12.5,12"></StackPanel>
        <ListView x:Name="ListViewProducts" Height="350" Margin="12.5,11,12.5,0" Grid.Row="1" VerticalAlignment="Top" Background="Wheat">
            <ListView.View>
                <GridView AllowsColumnReorder="true" ColumnHeaderToolTip="Product Information">
                    <GridViewColumn DisplayMemberBinding="{Binding Path=ProductId}" Header="Product ID" Width="100"  />
                    <GridViewColumn DisplayMemberBinding="{Binding Path=Name}" Header="Product Name" Width="100" />
                    <GridViewColumn DisplayMemberBinding="{Binding Path=Location}" Header="Location" Width="100" />
                    <GridViewColumn DisplayMemberBinding="{Binding Path=Quantity}" Header="Quantity" Width="100" />
                </GridView>
            </ListView.View>
        </ListView>
    </Grid>
    
    
</Window>
